//
//  ShapeStructs.h
//  Shape-Object
//
//  Created by quentin on 15/8/20.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#ifndef Shape_Object_ShapeStructs_h
#define Shape_Object_ShapeStructs_h


typedef enum {
    KCircle,
    KRectangle,
    KEgg,
}ShapeType;


typedef enum {
    KRedColor,
    KGreenColor,
    KBlueColor,
}ShapeColor;


typedef  struct {
    int x,y,width,height;
}ShapeRect;



typedef struct {
    ShapeType type;
    ShapeColor fillColor;
    ShapeRect bounds;
}Shape;


extern NSString* colorName(ShapeColor colorName);



#endif
